import request from '@/utils/request'
// 获取型材批次明细
export function getCount(processingState) {
  return request({
    url: '/index/getCount/?processingState=' + processingState,
    method: 'get',
  })
}
  // 获取告警数据
  export function getAlarm(state) {
    return request({
      url: '/index/alarm/?state=' + state,
      method: 'get',
    })
  }
// 获取统计图数据
export function getProduction() {
  return request({
    url: '/index/production',
    method: 'get',
  })
}
